package cn.xie.wrench.ty.wrench.starter.design.framework.link.model2.handler;

/**
 * @author: xiaoxie
 * create: 2025-05-14 14:36
 * @BelongsProject: ty-wrench
 * @BelongsPackage: cn.xie.wrench.ty.wrench.starter.design.framework.link.model2.handler
 * description: 逻辑处理器
 */
public interface ILogicHandler<T, D, R> {

    default R next(T requestParameter, D dynamicContext) {
        return null;
    }

    R apply(T requestParameter, D dynamicContext) throws Exception;

}

